package com.evolution.utils;

import java.util.Random;

public class RandomGenerator {

	public static Random randomGenerator = new Random(System.currentTimeMillis());

	public static boolean randomBoolean(){
		return randomGenerator.nextBoolean();
	}
	
	public static boolean randomBoolean(int skew){
		return randomGenerator.nextInt(skew) == 0;
	}
	
	public static int randomInt(int upperBound){
		return randomGenerator.nextInt(upperBound);
	}
}
